package cn.zhaoyuening.fanrpc.common.beans;

public class RpcResponce {
    private String respId;
    private Object result;
    private Throwable error;

    public Object getResult() {
        return result;
    }

    public RpcResponce setResult(Object result) {
        this.result = result;
        return this;
    }

    public Throwable getError() {
        return error;
    }

    public RpcResponce setError(Throwable error) {
        this.error = error;
        return this;
    }

    public String getRespId() {
        return respId;
    }

    public RpcResponce setRespId(String respId) {
        this.respId = respId;
        return this;
    }
}
